using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;

namespace Athena
{
    public partial class FormConnect : Form
    {
        public FormConnect()
        {
            InitializeComponent();
        }
        

        public int Inputs
        {
            get 
            {
                int nInput = 0;
                try
                {
                    nInput = Convert.ToInt32(txtInputs.Text);
                }
                catch (Exception)
                {
                    //
                }
                return nInput; 
            }
            set { txtInputs.Text = value.ToString(); }
        }
        public int Outputs
        {
            get
            {
                int nOutput = 0;
                try
                {
                    nOutput = Convert.ToInt32(txtOutputs.Text);
                }
                catch (Exception)
                {
                    //
                }
                return nOutput;
            }
            set { txtOutputs.Text = value.ToString(); }
        }	
    }
}